/*
 Copyright (C) 2011 QDSS.org. All rights reserved.
 QDSS.org PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package org.qdss.oapi4j.base.oauth;

import org.scribe.builder.api.DefaultApi10a;
import org.scribe.model.Token;
import org.scribe.model.Verb;

/**
 * SINA OAuth Api
 * 
 * @author <a href="mailto:zhaofang123@gmail.com">Zhao Fangfang</a>
 * @date 2011-3-25
 * @version $Id: SinaApi.java 14 2011-04-01 06:54:32Z zhaofang123@gmail.com $
 */
public class SinaApi extends DefaultApi10a {

	@Override
	public String getAuthorizationUrl(Token requestToken) {
		return null;
	}
	
	@Override
	public String getAccessTokenEndpoint() {
		return "http://api.t.sina.com.cn/oauth/access_token";
	}

	@Override
	public String getRequestTokenEndpoint() {
		return "http://api.t.sina.com.cn/oauth/request_token";
	}
	
	@Override
	public Verb getAccessTokenVerb() {
		return Verb.GET;
	}
	
	public Verb getRequestTokenVerb() {
		return Verb.GET;
	}
}
